html,
body {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-size: 12px;
    background-color: #F0F2F5;
}
@font-face {
    font-family: 'DIN-BOLD';
    src: url(https://front.sxruanjian.cn/ttf/DIN-BOLD.TTF) format('truetype');
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #F0F2F5;
    border-radius: 4px;
}

/* 设置滚动条滑块的颜色和圆角 */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .1);
    border-radius: 4px;
}

/* 设置滚动条滑块悬停时的样式 */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
/* input number类型取消增减箭头*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
:-webkit-autofill,
:-webkit-autofill:hover,
:-webkit-autofill:focus,
:-webkit-autofill:active {
  -webkit-text-fill-color: #2b739d !important;
  transition: background-color 5000s ease-in-out 0s;
}
#app {
    font-family: "Avenir", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100%;
    font-size: 12px;
}

.table-mt {
    margin-top: 20px;
}

.padding-add {
    padding: 20px 20px 0;
}

.ivu-mt {
    margin-bottom: 12px;
}

.table_header_cell {
    background: #e5eeff !important;
    color: #515a6e !important
}
.el-table__cell.gutter{
    background: #e5eeff !important;
}

.form-input {
    width: 460px;
}

.el-form-item__label {
    font-size: 12px !important;
    font-weight: bold;
}

/* 上传图片样式 */
.upload-img-wrap {
    display: flex;
    flex-wrap: wrap;
}

.upload-img-wrap .upload-img-item {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border: 1px dotted rgba(0, 0, 0, .1);
    border-radius: 4px;
    background: rgba(0, 0, 0, .02);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    /* margin-bottom: 15px; */
}

.el-upload {
    width: 80px;
    height: 80px;
    /* border: 1px dotted rgba(0, 0, 0, .1); */
    border-radius: 4px;
    position: relative;
    line-height: 80px;
}

.el-upload-list--picture-card .el-upload-list__item {
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #c0ccda;
    border-radius: 6px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 80px;
    height: 80px;
    margin: 0 8px 8px 0;
    display: inline-block;
}

.el-upload-list--picture-card .el-upload-list__item-thumbnail {
    object-fit: contain;
}

.upload-handle-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, .7);
    left: 0;
    top: 0;
    border-radius: 4px;
    visibility: hidden;
    opacity: 0;
    transition: opacity linear 0.2s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:0 14px;
    box-sizing: border-box;
}

.upload-handle-wrap-show {
    visibility: visible;
    opacity: 1;
}

.upload-img-wrap .upload-img-item .btndel {
    position: absolute;
    right: -8px;
    top: -8px;
    cursor: pointer;
    font-size: 18px;
}

.upload-img-wrap .progress {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.upload-img-wrap .upload-img {
    width: 100%;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

/* elementui modal框样式修改 message弹框样式修改*/
.v-modal {
    opacity: .1;
}

.el-dialog {
    width: 560px;
    border-radius: 6px;
    box-shadow: unset;
}

.el-message-box {
    width: 420px;
    position: absolute;
    top: 20%;
    left: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
}

.el-dialog__header,
.el-message-box__header {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.el-dialog__title,
.el-message-box__title {
    font-size: 14px;
    font-weight: bold;
}

.el-dialog__headerbtn {
    right: 15px;
    top: 14px;
}

.el-message-box__headerbtn {
    right: 10px;
    top: 10px;
}

.el-image__error {
    font-size: 12px;
}

.image-slot {
    color: #c0c4cc;
    background: #f5f7fa !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-img {
    width: 50px;
    height: 50px;
}

.toolTip {
    line-height: 18px;
    margin-top: 3px;
    color: #c0c4cc;
    font-size: 12px;
}

#nprogress .bar {
    background:#2473F4 !important;
}

@media screen and (max-width: 576px) {

    .el-dialog,
    .el-message-box {
        width: 80%;
    }
}
i{
    font-style: normal;
}